package com.benclinkinbeard.examples
{
	import mx.controls.Text;
	import mx.core.IDataRenderer;

	public class ExampleRenderer extends Text implements IDataRenderer
	{
		public function ExampleRenderer()
		{
			super();
			
			setStyle( "paddingTop", 5 );
			setStyle( "paddingBottom", 5 );
			selectable = false;
		}
		
		override public function set data( value:Object ):void
		{
			super.data = value;
			
			htmlText = value as String;
		}
	}
}